Skip to content

Conversation

WebSpider
Copy link
Contributor

Setting the externalTrafficPolicy to anything non-default is not supported on ClusterIP as per kubernetes/kubernetes#67202

Fixes #266

@WebSpider WebSpider changed the title Only set the externTrafficPolicy when spec.type is not ClusterIP Only set the externalTrafficPolicy when spec.type is not ClusterIP Oct 18, 2024
@WebSpider
Copy link
Contributor Author

Trivy seems to be setup incorrectly

Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale Issues that have not been updated for a while label Nov 22, 2024
@github-actions github-actions bot removed the Stale Issues that have not been updated for a while label Dec 3, 2024
@aki-ks
Copy link
Contributor

aki-ks commented Mar 15, 2025

When can we expect this to be merged?
I was just about to submit the same patch 😂

Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale Issues that have not been updated for a while label Sep 29, 2025
@WebSpider
Copy link
Contributor Author

/unstale

@github-actions github-actions bot removed the Stale Issues that have not been updated for a while label Sep 30, 2025
@fastlorenzo fastlorenzo requested a review from Copilot October 13, 2025 05:29
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR prevents setting the externalTrafficPolicy field when the Kubernetes service type is ClusterIP, which is not supported according to Kubernetes issue #67202.

  • Added a conditional check to only set externalTrafficPolicy when service type is not ClusterIP

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@DrPsychick DrPsychick added the bug Issues that are confirmed to be bugs label Oct 17, 2025
@DrPsychick
Copy link
Collaborator

@WebSpider can you please rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issues that are confirmed to be bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't set externalTrafficPolicy when externalService is ClusterIP

5 participants